<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                template="/WEB-INF/facelets/template.xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.prime.com.tr/ui"                 
                xmlns:f="http://java.sun.com/jsf/core">

	<ui:param name="title" value="Adminlogin Datesite"/>

	<ui:define name="header">
		<p><b> Admin Login </b></p>

	</ui:define>

	<ui:define name="pageContents">
		<div id="adminlogin">
			<h:form>
				<h:panelGrid columns="2">				
					<h:outputLabel for="username" value="Username"/>
					<h:inputText id="username" value="#{adminLoginControllerBean.user.username}" />
					<h:outputLabel for="password" value="Password"/>
					<h:inputSecret id="password" value="#{adminLoginControllerBean.user.password}"/>
				</h:panelGrid>
				<h:commandButton value="Adminlogin" action="#{adminLoginControllerBean.login}"/>
			</h:form>            
		</div>    
	</ui:define>

</ui:composition>